package backend.project.gym_management.service;

import backend.project.gym_management.pojo.entity.PayOrder;

public interface AliPayService {
    PayOrder selectOrder(Long oid);

    boolean updateOrder(PayOrder payOrder);

    PayOrder checkExistingOrder(Long uid, Long cid);

    PayOrder selectOrderByUserAndCourse(Long uid, Long cid);

    boolean hadCourse(Long uid, Long cid);

    String getUnameByUid(Long uid);
}
